package itsm.isperp.module.dto.solr;

import itsm.isperp.framework.domain.IBean;

import org.apache.solr.client.solrj.beans.Field;
import org.springframework.data.annotation.Id;

/**
 * 服务目录检索实体传输对象
 * 
 * @author lizx
 * @date 2013-4-18
 */
public class SolrSrcServiceDTO extends SolrDTO implements IBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@Field
	protected String id;

	@Field
	protected String code;

	@Field
	protected String name;

	@Field
	protected String keyword;

	@Field
	protected String contents;

	@Field
	protected String description;

	@Field
	protected String deliverables;

	@Field
	protected String categoryName;

	@Field
	protected String projectId;

	@Override
	public String getId() {
		return id;
	}

	public String getCode() {
		return code;
	}

	public String getKeyword() {
		return keyword;
	}

	public String getContents() {
		return contents;
	}

	public String getDescription() {
		return description;
	}

	public String getDeliverables() {
		return deliverables;
	}

	public String getCategoryName() {
		return categoryName;
	}

	@Override
	public void setId(String id) {
		this.id = id;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public void setContents(String contents) {
		this.contents = contents;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public void setDeliverables(String deliverables) {
		this.deliverables = deliverables;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

}
